package com.tiancheng.onecode.service;

import com.tiancheng.onecode.model.dto.MinioUploadDto;
import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;

/**
 * @Author: kellen
 * @Description: 文件上传service
 * @Date: create in 2024/12/27 14:15
 */
public interface IUploadService {
    MinioUploadDto minioUpload(MultipartFile file);
    MinioUploadDto minioUploadImg(String fileName,byte[] imageData);
    Boolean deleteMinioObj(String objectName);
}
